﻿.kui-window {
    pointer-events: auto;
    position: fixed;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
}
.kui-window-shade {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
}
.kui-window-alert,.kui-window-confirm,.kui-window-prompt{
    min-width: 260px;
}
.kui-window-title {
    border-radius: 2px 2px 0 0;
    font-size: 14px;
    height: 42px;
    line-height: 42px;
    overflow: hidden;
    padding: 0 80px 0 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kui-window-options {
    font-size: 0;
    line-height: initial;
    position: absolute;
    right: 15px;
    top: 15px;
}
.kui-window-options a {
    font-size: 12px;
    height: 16px;
    margin-left: 10px;
    position: relative;
    width: 16px;
    cursor:pointer;
    display:inline-block;
    cursor:pointer;
    vertical-align:top;
}
.kui-window-close {
    /*position: absolute;*/
    background: rgba(0, 0, 0, 0) url("images/icon.png") no-repeat scroll 0 0;
    background-position:0 -40px;
}
.kui-window-min>icon {
    background-color: #2e2d3c;
    height: 2px;
    /*left: 0;*/
    margin-top: -1px;
    position: absolute;
    top: 50%;
    width: 14px;
    display:block;
}
.kui-window-min:hover>icon{
    background-color:#2d93ca;
}

.kui-window-max {
    background: rgba(0, 0, 0, 0) url("images/icon.png") no-repeat scroll 0 0;
    background-position:-32px -40px;
}
.kui-window-max:hover {
    background-position:-16px -40px;
}
a.kui-window-normal{
    /*display:none;*/
    background: rgba(0, 0, 0, 0) url("images/icon.png") no-repeat scroll 0 0;
    background-position:-65px -40px;
}
.kui-window-normal:hover{
    background-position:-49px -40px;
}
.kui-window-close:hover {
    opacity: 0.7;
}
.kui-window-content {
    font-size: 14px;
    line-height: 24px;
    overflow: auto;
    padding: 20px;
    position: relative;
    word-break: break-all;
    background-color:#fff;
    /*height:100%;*/
}
.kui-window-btns {
    padding: 0 10px 12px;
    pointer-events: auto;
    text-align: right;
}
.kui-window-btns a {
    display:inline-block;
    vertical-align:top;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 400;
    height: 28px;
    line-height: 28px;
    margin: 0 6px;
    padding: 0 15px;
    text-decoration: none;
}
.kui-window-msg {
    box-shadow: none;
    background-color:none;
    border:none;
    color: #fff;
    min-width: 100px;
}
.kui-window-msg .kui-window-content {
    padding: 12px 25px;
    text-align: center;
    background-color:rgba(0, 0, 0, 0.6);
}
.kui-window-prompt .kui-window-input {
    border: 1px solid #ccc;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1) inset;
    display: block;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    padding: 0 5px;
    width: 220px;
}
.kui-window-prompt textarea.kui-window-input {
    height: 100px;
    line-height: 20px;
    width: 300px;
}
.kui-window-loading {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    border-radius: 100%;
    box-shadow: none;
}
.kui-window-loading .kui-window-loading-1 {
    background: rgba(0, 0, 0, 0) url("images/loading-1.gif") no-repeat scroll 0 0;
    height: 37px;
    line-height:37px;
    width: 37px;
    /*width:auto;*/
}
.kui-window-loading .kui-window-loading-1 .kui-window-loading-text{
    vertical-align:middle;
    margin:0 0 0 45px;
}
.kui-window-loading .kui-window-loading-2{
    background: rgba(0, 0, 0, 0) url("images/loading-2.gif") no-repeat scroll 0 0;
    height: 32px;
    line-height:32px;
    width: 32px;
    /*width:auto;*/
}
.kui-window-loading .kui-window-loading-2 .kui-window-loading-text{
    vertical-align:middle;
    margin:0 0 0 40px;
}
.kui-window-loading .kui-window-loading-3 {
    background: rgba(0, 0, 0, 0) url("images/loading-0.gif") no-repeat scroll 0 0;
    height: 24px;
    line-height:24px;
    width: 60px;
}
.kui-window-loading .kui-window-loading-3 .kui-window-loading-text{
    vertical-align:middle;
    margin:0 0 0 68px;
}
.kui-window-win{
    width:600px;
    height:450px;
}
.kui-window-win .kui-window-content{
    padding:0;
}
.kui-window-iframe{
    width:100%;
    height:100%;
}

/*6种css动画*/
@-webkit-keyframes bounceIn{
    0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}
    100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
}
@keyframes bounceIn{
    0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}
    100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
}
.kui-anim{-webkit-animation-name:bounceIn;animation-name:bounceIn}

@-webkit-keyframes bounceOut{
    100%{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}
    30%{-webkit-transform:scale(1.03);transform:scale(1.03)}
    0%{-webkit-transform:scale(1);transform:scale(1)}
}
@keyframes bounceOut{
    100%{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}
    30%{-webkit-transform:scale(1.03);-ms-transform:scale(1.03);transform:scale(1.03)}
    0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
}
.kui-anim-close{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.2s;animation-duration:.2s}

/*由上往下*/
@-webkit-keyframes zoomInDown{
    0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}
    60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}
}
@keyframes zoomInDown{
    0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}
    60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}
}
.kui-anim-01{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}

/*由下往上*/
@-webkit-keyframes fadeInUpBig{
    0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}
    100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}
}
@keyframes fadeInUpBig{
    0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}
    100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}
}
.kui-anim-02{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}

/*由左往右*/
@-webkit-keyframes zoomInLeft{
    0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}
    60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}
}
@keyframes zoomInLeft{
    0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}
    60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}
}
.kui-anim-03{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}

/*向右上旋转*/
@-webkit-keyframes rollIn{
    0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}
    100%{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}
}
@keyframes rollIn{
    0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}
    100%{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}
}
.kui-anim-04{-webkit-animation-name:rollIn;animation-name:rollIn}

@-webkit-keyframes fadeIn{
    0%{opacity:0}
    100%{opacity:1}
}
@keyframes fadeIn{
    0%{opacity:0}
    100%{opacity:1}
}
.kui-anim-05{-webkit-animation-name:fadeIn;animation-name:fadeIn}

/*左右晃动*/
@-webkit-keyframes shake{
    0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}
    10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}
    20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}
}
@keyframes shake{
    0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}
    10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}
    20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}
}
.kui-anim-06{-webkit-animation-name:shake;animation-name:shake}
